2008-02-20 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
the right window level and shadow after recreating the window.
* gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
necessary after drawing (bug #517338).
svn path=/trunk/; revision=19622
+2008-02-20 Richard Hult <richard@imendio.com>
+
+ * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
+ the right window level and shadow after recreating the window.
+
+ * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
+ necessary after drawing (bug #517338).
+
2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
* gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
gdk_region_destroy (region);
+ /* Invalidate the window shadow for non-opaque views that have shadow
+ * enabled, otherwise the shadow doesn't get updated to what we draw.
+ */
+ if (![self isOpaque] && [[self window] hasShadow])
+ [[self window] invalidateShadow];
+
GDK_QUARTZ_RELEASE_POOL;
}
backing:NSBackingStoreBuffered
defer:NO];
+ [impl->toplevel setHasShadow: window_type_hint_to_shadow (impl->type_hint)];
+ [impl->toplevel setLevel: window_type_hint_to_level (impl->type_hint)];
+
[impl->toplevel setContentView:old_view];
[impl->toplevel setFrame:rect display:YES];
}